package com.tom.jmgd.entity.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tom.jmgd.core.entity.AbstractEntity;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tom
 * @since 2024-05-10
 */
public class TWareFromHd extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @TableField("warecode")
    private String warecode;

    @TableField("warename")
    private String warename;

    @TableField("wareunit")
    private String wareunit;

    @TableField("warespec")
    private String warespec;

    @TableField("factoryname")
    private String factoryname;

    @TableField("areaname")
    private String areaname;

    @TableField("barcode")
    private String barcode;

    private BigDecimal lastsaleprice;

    public BigDecimal getLastsaleprice() {
        return lastsaleprice;
    }

    public void setLastsaleprice(BigDecimal lastsaleprice) {
        this.lastsaleprice = lastsaleprice;
    }

    public String getWarecode() {
        return warecode;
    }

    public void setWarecode(String warecode) {
        this.warecode = warecode;
    }
    public String getWarename() {
        return warename;
    }

    public void setWarename(String warename) {
        this.warename = warename;
    }
    public String getWareunit() {
        return wareunit;
    }

    public void setWareunit(String wareunit) {
        this.wareunit = wareunit;
    }
    public String getWarespec() {
        return warespec;
    }

    public void setWarespec(String warespec) {
        this.warespec = warespec;
    }
    public String getFactoryname() {
        return factoryname;
    }

    public void setFactoryname(String factoryname) {
        this.factoryname = factoryname;
    }
    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }
    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    @Override
    public String toString() {
        return "TWareFromHd{" +
            "warecode=" + warecode +
            ", warename=" + warename +
            ", wareunit=" + wareunit +
            ", warespec=" + warespec +
            ", factoryname=" + factoryname +
            ", areaname=" + areaname +
            ", barcode=" + barcode +
        "}";
    }
}
